package com.zhcd.sys.service;

import com.zhcd.sys.pojo.Doctor;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author feifei
 * @since 2021-11-29
 */
public interface DoctorService extends IService<Doctor> {
    //查询全部医生
    public List<Doctor> getAll_Doctor();
    //按条件(电话、姓名、科室)查询医生
    public List<Doctor> getList_Doctor(String doctorphone,String doctorname,String departmentname);
    //查询单个医生
    public Doctor getOne_Doctor(int doctorid);
    //删除医生
    public int del_Doctor(int doctorid);
    //修改医生
    public int upd_Doctor(Doctor doctor);


    public List<Doctor> selectAll();

    public Doctor simpleObj(String id);

    public  int Add(Doctor model);

    public  int Update(Doctor model);

    public  int Delete(String id);
}
